import request from '@/utils/request'
export function sensePageApi (params) {
  return request({
    url: '/api/sensingEquipment/pageList',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function senseUpdateApi (params) {
  return request({
    url: '/api/sensingEquipment/update',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function senseAddApi (params) {
  return request({
    url: '/api/sensingEquipment/add',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function senseDeleteApi (params) {
  return request({
    url: '/api/sensingEquipment/delete',
    method: 'DELETE',
    headers: {
      'Content-Type': 'application/json'
    },
    params
  })
}
